Part Number Hot Search : 
AM29F0 ALFY455E DU222 256574 CXA3171N AO4488 D4235G MC1558SG
Product Description
Full Text Search
 

To Download M39432-10VNC6T Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/28 november 1999 m39432 single chip 4 mbit flash memory and 256 kbit parallel eeprom n multiple memories on a single chip: C 4 mbit flash memory (organised as 8 sectors) C 256 kbit eeprom C 64 byte one time programmable memory n concurrent mode (read flash while writing to eeprom) n write, program and erase status bits n 2.7v to 3.6v single supply voltage for program, erase and read operations n 100 ns access time (flash and eeprom blocks) n low power consumption C60 m a stand-by mode (maximum) C deep power down mode: 6 m a (maximum), 200 na (typical) n standard flash memory package n 100,000 erase/write cycles (minimum) n 10 year data retention (minimum) description the m39432 is a single supply voltage memory device combining flash memory and eeprom on a single chip. the memory is mapped in two figure 1. logic diagram ai01946 19 a0-a18 ee dq0-dq7 v cc m39432 g ef v ss 8 w r/b table 1. signal names a0-a18 address inputs dq0-dq7 data inputs / outputs ee eeprom block enable ef flash block enable g output enable w write enable r/b ready/busy output v cc supply voltage v ss ground tsop40 (nc) 10 x 20 mm
m39432 2/28 blocks: 4 mbit of flash memory and 256 kbit of eeprom. each block operates independently during a write cycle: in concurrent mode, the flash memory can be read while the eeprom is being written. there is also a 64 byte row of otp (one time programmable) eprom. the m39432 eeprom block may be written bytewise or by a page at a time (up to 64 bytes). the integrity of the data can be secured with the help of the software data protection (sdp). the m39432 flash memory block offers 8 sectors, each one 64 kbyte in size. each sector may be erased individually, and programmed a byte at a time. each sector can be separately protected and unprotected against program and erase. sector erasure may be suspended, while data is read from other sectors of the flash memory block (or from the eeprom block), and then resumed. the flash memory block is functionally compatible with the m29w040 (4 mbit single voltage flash memory). during a program or erase cycle in the flash memory or during a write cycle in the eeprom, the status of the m39432 internal logic can be read on the data output pins dq7, dq6, dq5 and dq3. signal description address inputs (a0-a18) the address inputs for the memory array are latched during a write operation. the eeprom block is selected by the ee input, and the flash memory block the ef input. a0-a14 access locations in the eeprom block; a0-a18 access locations in the flash memory block. when v id (as specified in table 11) is applied on the a9 address input, additional device-specific information can be accessed: C read the manufacturer identifier C read the flash block identifier C read/write the eeprom block identifier C verify the flash sector protection status. figure 2. tsop connections note: 1. nc = not connected. a3 a0 dq0 a7 nc r/b a4 nc a13 ee a11 nc dq7 a14 nc v ss g dq5 dq1 dq2 dq3 dq4 dq6 a17 w a16 a12 a18 v cc a15 ai01947 m39432 10 1 11 20 21 30 31 40 nc a9 a10 a8 ef a6 a1 a5 a2 nc table 2. absolute maximum ratings note: 1. stresses above those listed may cause permanent damage to the device. these are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. please see the stmicroelectronics sure program and other relevant quality documents. 2. minimum voltage may undershoot to C2 v, during transition and for less than 20 ns. symbol parameter value unit t a ambient operating temperature C40 to 85 c t bias 1 temperature under bias C50 to 125 c t stg 1 storage temperature C65 to 150 c v io 1,2 input or output voltage (except a9) C0.6 to 7 v v cc 1 supply voltage C0.6 to 7 v v a9 , v g , v ef 1,2 a9, g and ef voltage C0.6 to 13.5 v
3/28 m39432 data input/output (dq0-dq7) during a write operation, one data byte is latched into the device when write enable (w ) and one chip enable (ef or ee ) are driven low. during a read operation, the output presented on these pins is valid when output enable (g ) and one chip enable (ef or ee ) are driven low. the output is high impedance when the chip is deselected (both ee and ef driven high) or the outputs are disabled (g driven high). read operations are used to output: C bytes in the flash memory block C bytes in the eeprom block C the manufacturer identifier C the flash sector protection status C the flash block identifier C the eeprom identifier C the otp row. chip enable (ee and ef ) each chip enable (ee or ef ) causes the memory control logic, input buffers, decoders and sense amplifiers to be activated. when the ee input is driven high, the eeprom memory block is not selected; when the ef input is driven high, the flash memory block is not selected. attempts to access both eeprom and flash blocks (ee low and ef low) are forbidden. switching between the two chip enables (ee and ef ) must not be made on the same clock cycle, a delay of greater than t ehfl must occur. the m39432 is in stand-by mode when both ef and ee are high (when no internal erase or programming cycle is running). the power consumption is reduced to the stand-by level and the outputs are held in the high state, independent of the output enable (g ) or write enable (w ) inputs. after 150 ns of inactivity, and when the addresses are driven at cmos levels, the chip automatically enters a pseudo-stand-by mode. power consumption is reduced to the cmos stand-by level, while the outputs continue to drive the bus. output enable (g ) the output enable gates the outputs through the data buffers during a read operation. the data outputs are left floating in their high impedance state when the output enable (g ) is high. during sector protect (figure 8) and sector unprotect (figure 9) operations (for the flash memory block only), the g input must be held at v id (as specified in table 11). write enable (w ) addresses are latched on the falling edge of w , and data inputs are latched on the rising edge of w . ready/busy (r/b ) when the eeprom block is engaged in an internal write cycle, the ready/busy output shows the status of the device: Cr/b is 0 when a write cycle is in progress Cr/b is hi-z when no write cycle is in progress the ready/busy pin does not show the status of a program or erase cycle in the flash memory. this pin can be used to show the status of the eeprom block, even when reading data (or fetching instructions) from the flash memory block. figure 3. flash block sectors 64k bytes block ai01362b 7ffffh 6ffffh 5ffffh 4ffffh 3ffffh 2ffffh 1ffffh 0ffffh top address 70000h 60000h 50000h 40000h 30000h 20000h 10000h 00000h bottom address a18 1 1 64k bytes block 64k bytes block 64k bytes block 64k bytes block a17 1 1 a16 1 0 1 1 0 0 1 0 0 0 1 1 1 0 001 000
m39432 4/28 this open drain output can be wire-ored, using an external pull-up resistor, when several m39xxx devices are used together. v cc supply voltage the v cc supply voltage supplies the power for the device. the m39432 cannot be written when the v cc supply voltage is less than the lockout voltage, v lko . this prevents bus write operations from accidentally damaging the data during power up, power down and during power surges. a 100 nf capacitor should be connected between the v cc supply voltage pin and the v ss ground pin, to decouple the current surges from the power supply. the pcb track widths must be sufficient to carry the currents required during program and erase operations. v ss ground the v ss ground is the reference for all voltage measurements. device operation the m39432 memory device is addressed via 19 inputs (a0-a18) and carries data on 8 data inputs/ outputs (dq0-dq7). there are four other control inputs: chip enable eeprom (ee ), chip enable flash memory (ef ), output enable (e ) and write enable (w ). the chip enable inputs (ef or ee ) are used mainly for power control (turning the chip on and off) and for block selection (selecting the eeprom block or the flash memory block). the gating of data to the dq0-dq7 pins should be controlled using the output enable input (g ). the permitted operating modes of the device are listed in table 3. read for a read operation, the output enable (g ) and one chip enable (ef or ee ) must be driven low. as noted on the previous page, read operations are used to read the contents of: C bytes in the flash memory block C bytes in the eeprom block C the manufacturer identifier C the flash sector protection status C the flash block identifier C the eeprom identifier C the otp row. the instruction sequences for selecting between these areas is summarized in table 4. write writing data requires: C a chip enable (either ee or ef ) to be low C the write enable (w ) to be low and the output enable (g ) to be high. addresses in the flash memory block (or the eeprom block) are latched on the falling edge of w or ef (or ee ) whichever occurs the later. the data to be written to the flash memory block (or eeprom block) is latched on the rising edge of w or ef (or ee ) whichever occurs first. the write operation is used in two contexts: C to write data to the eeprom memory block C to enter the sequence of bytes that makes up one of the instructions shown in table 4. the programming of a byte of flash memory involves one of these instructions (as described in the section entitled instructions on this page). specific read and write operations device specific information includes the following: C read the manufacturer identifier C read the device identifier C define the flash sector protection C read the eeprom identifier C write the eeprom identifier table 3. operations note: 1. x = v ih or v il . operation ef ee g w dq0 - dq7 read v il v ih v il v ih read from flash block v ih v il read from eeprom block write v il v ih v ih v il write to flash block v ih v il write to eeprom block output disable v il v ih v ih x hi-z v ih v il stand-by v ih v ih x x hi-z
5/28 m39432 table 4. instructions 1 note: 1. aah @ 5555h means write the value aah at the address 5555h. 2. this instruction can also be performed as a verify operation with a9=v id (please see the section entitled flash sector protection and unprotection on page 18). 3. addresses of additional sectors to be erased must be entered within a time-out of 80 m s of each other. instruction ee ef cycle 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 read manufacturer identifier 2 10 aah @5555h 55h @2aaah 90h @5555h read identifier with (a0,a1,a6) set to (0,0,0) read flash identifier 2 10 aah @5555h 55h @2aaah 90h @5555h read identifier with (a0,a1,a6) set to (1,0,0) read otp row 0 1 aah @5555h 55h @2aaah 90h @5555h read byte 1 read byte 2 read byte n read sector protection status 2 10 aah @5555h 55h @2aaah 90h @5555h read identifier with (a0,a1,a6) set to (0,1,0) program a byte of flash memory 10 aah @5555h 55h @2aaah a0h @5555h data @ address erase a sector of flash memory 10 aah @5555h 55h @2aaah 80h @5555h aah @5555h 55h @2aaah 30h @ sector address 30h @ sector address 3 erase the whole of flash memory 10 aah @5555h 55h @2aaah 80h @5555h aah @5555h 55h @2aaah 10h @5555h suspend sector erase 10 b0h @any address resume sector erase 10 30h @any address eeprom power down 01 aah @5555h 55h @2aaah 30h @5555h deep power down 10 20h @5555h sdp enable (eeprom) 01 aah @5555h 55h @2aaah a0h @5555h write byte 1 write byte 2 write byte n sdp disable (eeprom) 01 aah @5555h 55h @2aaah 80h @5555h aah @5555h 55h @2aaah 20h @5555h write otp row 0 1 aah @5555h 55h @2aaah b0h @5555h write byte 1 write byte 2 write byte n return (from otp read or eeprom power down) 01 f0h @any address reset 1 0 aah @5555h 55h @2aaah f0h @any address reset (short instruction) 10 f0h @any address
m39432 6/28 to access these, a9 is held at v id (as specified in table 11) and the specific logic levels, shown in table 5, are applied to the address inputs a0, a1 and a6. the otp row is accessed with a specific software sequence, as described in the section entitled writing the otp row on page 11. instructions instructions consist of a sequence of specific write operations, as summarized in table 4. the time between two consecutive bytes must be shorter than the time-out value (t wlwl ). each received byte is decoded sequentially, and not executed as a standard write operation. the overall instruction is executed when the correct number of bytes have been properly received. the sequence must be followed exactly. if an invalid combination of instruction bytes occurs, or time-out between two consecutive bytes, the device logic resets itself to the read state, when addressing the flash block, or is directly decoded as a single operation, when addressing the eeprom block. the m39432 instructions set, as summarized in table 4, includes: n program a byte in the flash memory block n read the protection status of a flash sector n erase instructions: C flash sector erase C flash block erase C flash sector erase suspend C flash sector erase resume n eeprom power down n deep power down n change the eeprom software write protection: C enable sdp Cdisable sdp n otp row access: C write the whole otp row (once) C read from the otp row n reset and return n read identifiers: C read the manufacturer identifier C read the flash block identifier for efficiency, each instruction consists of a two- byte escape sequence, followed by a command byte or a confirmation byte. the escape sequence consists of writing the value aah at address 5555h, in the first cycle, and the value 55h at address 2aaah, in the second cycle. in the case of the erase instructions, an additional escape sequence is required, for final confirmation that the instruction is the intended one. power supply and current consumption power up the m39432 internal logic is reset, to read mode, upon a power-up event. all write operations to the eeprom are inhibited for the first 5 ms. no new write cycles can be started when v cc is below v lko (as specified in table 11). however, for maximum security of the contents of the memory, and to remove the possibility of a byte being written on the first rising edge of ef , ee or w , at least one of ef , ee or w should be tied to v ih during the power-up process. stand-by when both ee and ef are high, the memory enters stand-by mode, and the data input/output pins are placed in the high-impedance state. to reduce the supply current to the stand-by supply current, ee and ef should be held within v cc 0.2v. if the stand-by mode is set during a program or erase cycle, the memory continues to use the supply current until the cycle is complete. table 5. device identifier operations note: 1. x = dont care. instruction ef ee g w a0 a1 a6 a9 other address lines dq0 - dq7 read manufacturer identifier v il v ih v il v ih v il v il v il v id dont care 20h read flash block identifier v il v ih v il v ih v ih v il v il v id dont care 0e3h read eeprom block identifier v ih v il v il v ih xx v il v id dont care 64 user- defined bytes
7/28 m39432 automatic stand-by if cmos levels (v cc 0.2v) are used to drive the bus, and the bus is inactive for more than 150 ns, the memory enters the automatic stand-by state. the internal supply current is reduced to the stand-by supply current, i cc3 . deep power down the i cc consumption mode can be reduced to a minimum using the deep power down instruction (as shown in table 4). the device is set in a sleep mode until the next reset instruction is executed. eeprom power down the m39432 can power-down the eeprom block using the specific instruction shown in table 4. once in this state, the eeprom block is no longer accessible, until a return instruction is executed. read read operations and instructions can be used: C to read the contents of the memory array (flash memory block or eeprom block) C to read the memory array status and identifiers (flash memory block or eeprom block). read data (from flash memory or eeprom) for a read operation, the output enable (g ) and one chip enable (ef or ee ) must be driven low. read the manufacturer identifier there are two alternative methods for reading the manufacturer identifier: using a read operation or using a read instruction. read operation. the manufacturer identifier can be read with a read operation by applying v id (as specified in table 11) on a9, and the logic levels specified in table 5 applied to a0, a1, a6. read instruction. the manufacturer identifier can also be read using an instruction composed of four operations: three specific write operations (as specified in table 4) and a read operation. this either accesses the manufacturer identifier, the flash block identifier or the flash sector protection status, depending on the levels that are being applied to a0, a1, a6, a16, a17 and a18. read the flash block identifier similarly, there are two alternative methods for reading the flash block identifier (e3h): using a read operation or using a read instruction. please see the previous section, entitled read the manufacturer identifier, and table 5 and table 4 for details. read the eeprom block identifier the eeprom block identifier (64 bytes, user de- fined) can be read with a single read operation by holding a6 low and a9 at v id (see table 5). read the otp row the otp row is mapped in the eeprom block. with ee held low, and ef held high, an eeprom read instruction is composed, as specified in table 6. status bits note: 1. x = not a guaranteed value, can be read either as 1 or 0. ef ee dq7 dq6 dq5 dq4 dq3 dq2 dq1 dq0 flash v il v ih data polling toggle flag error flag x erase time- out xxx eeprom v ih v il data polling toggle flag xxxxxx figure 4. data polling flowchart read dq5 & dq7 at valid address start read dq7 fail pass ai01369b dq7 = data yes no yes no dq5 = 1 dq7 = data yes no
m39432 8/28 program cycles, and after the sixth pulse on the w line for erase cycles. the data polling read instruction must address the same location as the byte that is being programmed, or within the same flash sector as the one that is being erased. toggle flag, dq6. during an internal write, program or erase cycle, dq6 toggles between 0 and 1, on successive read accesses to any byte of the memory (when either g , ee or ef is held low). when the internal cycle is complete, the toggling is stopped, and the data read on dq0-dq7 is that of the addressed memory byte. a subsequent reading at the same address will result in the same data being read. this alternative method for detecting when the internal write, program or erase cycle has completed, is shown in the flowchart in figure 5. when an internal cycle is in progress, data bit dq6 toggles between 1 and 0 for successive read operations. when dq6 no longer toggles and the error bit dq5 is 0, the operation is complete. to determine if dq6 has toggled, each poll requires two consecutive read operations to see if the data read is the same each time. for the flash memory block, data toggling is effective after the fourth pulse on the w line for table 4. this consists of the writing of three specific data bytes at three specific memory locations (each location on a different page) as a prefix to reading the otp row content. when accessing the otp row, only the least significant bits of the address bus (a0 to a6) are decoded (of which a6 must be low). each read of the otp row has to be followed by the return instruction (as shown in table 4). read the flash sector protection status there are two alternative methods for reading the flash sector protection status: using a verify operation with a9=v id (as described on page 18) or using a read instruction as described in the section entitled read the manufacturer identifier, starting on page 7. using the read instruction, the logic levels on a0, a1, a6 select the correct instruction, while a16, a17 and a18 specify which sector is being addressed. this returns the value 01h if the flash sector is protected, and the value 00h if the flash sector is not protected. read the status bits the latency period of write, erase and program cycles can be monitored by the application software, by using the m39432 status bits. the ready/busy pin provides the status information during a write cycle to the eeprom block (though not to the flash memory block). an internal status register carries the status information during a programming or erase cycle. a read operation, during the program or write cycle, causes the contents of this register to be presented to the i/o ports (dq0-dq7), as summarized in table 6. data polling flag, dq7. the i/o lines (dq0- dq7) are first used as inputs, carrying the data that is to be written to the eeprom or programmed in the flash memory. once the write or program cycle is underway, these lines become outputs (and can be read using a normal read operation). the value presented on dq7 is the inverse of the data bit that was presented by the user. when the cycle is complete, the lines remain as outputs, and the value that is presented on dq7 is the non-inverted value that was originally specified for writing. the suitable algorithm for using this method of polling is shown in figure 4. when a write or program cycle is in progress, data bit dq7 is set to the complement of the original data bit 7 (or to 0 in the case of an erase cycle in the flash memory block). when dq7 is identical to the old data (or to 1 in the case of an erase cycle in the flash memory block) and the error bit (dq5) is still 0, the cycle is complete. for the flash memory block, data polling is effective after the fourth pulse on the w line for figure 5. data toggle flowchart read dq5 & dq6 start read dq6 fail pass ai01370 dq6 = toggle no no yes yes dq5 = 1 no yes dq6 = toggle
9/28 m39432 figure 6. eeprom sdp-enable flowcharts ai01698c write aah in address 5555h write 55h in address 2aaah write a0h in address 5555h sdp is set write aah in address 5555h write 55h in address 2aaah write a0h in address 5555h write data to be written in any address sdp enable algorithm page write timing page write timing write is enabled sdp set sdp not set write in memory write data and sdp set after t wc table 7. summary of the use of status bits note: 1. if all the sectors to be erased are protected, dq7 is reset to 0 for about 100 m s, then returns to the state it was in for the previously addressed byte. no erasure is performed. 2. if all the sectors to be erased are protected, dq6 is reset to 0 for about 100 m s, then returns to the state it was in for the previously addressed byte. no erasure is performed. operation address dq7 (data polling bit) dq6 (toggle bit) dq5 (program error bit) dq3 (erase time-out bit) program (flash) or erase (eeprom) any address dq7 toggling 0 x program error (flash) any address in the flash block dq7 toggling 1 x flash block erase any address in the flash block 0 1 toggling 2 01 sector erase sector address to be erased 0 1 toggling 2 01 sector erase before time-out sector address to be erased 0 1 toggling 2 00 erase suspend any byte in the sector in erase mode invalid data on dq7-dq0 other sector addresses dq6 toggles for 15 m s, then behaves as for a standard read operaion erase error sector address 0 1 toggling 2 11
m39432 10/28 program cycles, and after the sixth pulse on the w line for erase cycles. error flag, dq5 (flash memory block only). this bit is set to 1 when there is a failure during a program, sector erase, or the bulk erase instruction in the flash memory block. otherwise, the bit is held at 0. if an error occurs during a program or sector erase instruction, the sector in which the error occurred, must not be used any more. other sectors may still be used, though. the error bit is reset after a reset instruction. if dq5 becomes set to 1 during either of the polling algorithm, shown in figure 4 and figure 5, dq7 (dq6) should be checked again in case it had changed simultaneously with dq5. if dq7 shows the original data bit (after a program cycle) or if dq7 is set to 1 (after an erase cycle), or if dq6 has ceased to toggle, the operation is successful and the calling routine can resume normal execution. it is recommended, as a final check, that a second read be performed, and that the read value be compared against the original data (in the case of a write or program cycle) or against the value ffh (in the case of an erase cycle). if the comparison shows false, this should be flagged as an error. erase time-out bit (dq3). the erase time-out bit can be used to identify the start of the internal controller operation during a sector erase cycle. while the sector addresses (after cycle 5 in table 4) are being supplied at a faster rate than one every 80 m s between two sector addresses, the m39432 holds the dq3 bit at 0. this indicates that additional sectors can still be added to the list of sectors that are to be erased. once the internal controller starts erasing, the erase timer bit is set to 1. byte write (or page write) in eeprom writing a byte, or a page of bytes, to the eeprom block is performed as an operation (see table 3). this is as opposed to programming a byte in the flash memory, which is performed as an instruction (see table 4). byte write in the eeprom block a write operation is initiated when ee is taken low, while ef is kept high, the write enable (w ) is taken low, and the output enable (g ) is held high. addresses are latched on the falling edge of w or ee (whichever occurs the later). once initiated, the write operation continues under internal timing, until it is completed. this period (t whrh ) is specified in table 16. the status of the write operation is indicated on the data polling and toggle bits (as described on the previous page), and on the ready/busy output (which is driven low for the duration of the internal write cycle). page write in the eeprom block the page write mode allows up to 64 bytes to be written on a single page in a single go. this is achieved through a series of successive write operations, no two of which are separated by more than the t wlwl value (as specified in table 16). the page write is initiated as a byte write operation: following the first byte write instruction, the host may send another address and data with a minimum data transfer rate of: 1/t wlwl . the internal write cycle can start at any instant after t wlwl . once initiated, the write operation is internally timed, and continues, uninterrupted, until completion. figure 7. eeprom sdp-disable flowchart ai01699c write aah in address 5555h write 55h in address 2aaah write 80h in address 5555h unprotected state after t wc (write cycle time) write aah in address 5555h write 55h in address 2aaah write 20h in address 5555h page write timing table 8. write the eeprom block identifier ef ee g w a6 a9 other address lines dq0 - dq7 v ih v il v ih v il v il v id dont care 64 user-defined bytes
11/28 m39432 all bytes must be located on the same page address (a6-a18 must be the same for all bytes). otherwise, the page write operation is not executed. as with the single byte write operation, described above, the dq6 and dq7 lines can be used to detect the beginning and end of the internally controlled phase of the page write cycle. eeprom block software data protection the software data protection (sdp) instruction protects the eeprom block from inadvertent write operations, for example that might be caused under uncontrolled bus conditions. by default, the m39432 is shipped in the unprotected state: the eeprom memory can be written to normally. after the sdp enable instruction, the device enters the protected mode, and further write operations have no effect on the eeprom contents. the device remains in this mode until a valid sdp disable instruction has been received. the device then returns to its unprotected state. to enable the software data protection, the device has to be written (under page write timing conditions) with three specific data bytes at three specific memory locations (each location on a different page) as shown in table 4 and figure 6. figure 6 shows that there are three ways to use the sdp-enable instruction. firstly, as shown in the flow-chart on the left, it can be used as a three- byte instruction that sets the sdp. secondly, it can be used as a way of writing data to the eeprom even when the sdp is set. only if the data to be written is preceeded by the correct three byte instruction, and all the bytes are written with the correct page write timing, will the request be accepted, and acted on. lastly, if the sdp is currently not set, the instruction can be used as a means of performing a page write, and setting the sdp at the same time. to disable the software data protection the user has to write specific data bytes into six different locations (under page write timing conditions) with different bytes being written on different pages, as shown in figure 7. the software data protection state is held internally in a non-volatile latch (and so the state is remembered across power-on and power-off events. access to this latch, through the sdp enable and disable instructions, require the same write time (t wc ) as for the non-volatile memory. this write operation can be monitored on the toggle bit (status bit dq6) and the ready/busy pin, but not on dq7. the ready/busy output is driven low from the first written byte (the first write aah,@5555h of the sdp sequence) until the completion of the internal page write sequence. writing the otp row writing in the otp row is enabled by an instruction composed of three specific write operations, under page write timing conditions, as shown in table 4. these instructions write data bytes at three specific memory locations, each location on a different page, followed by the data (between 1 and 64 bytes) that is to be stored in the otp row. this action can only be performed once. even by writing fewer than all 64 bytes on the first write to the otp row, none of the bytes, including any that have not yet been changed, can be modified at a later time. when accessing the otp row, the only least significant address bits (a0 to a6) are decoded. of these, a6 must be held at 0. writing the eeprom block identifier the eeprom block identifier (64 bytes) can be written with a single write operation with v id applied on a9, and a6 is driven low, as shown in table 8. programming the flash block programming a byte in the flash memory block is performed using the instruction shown in table 4. this is different to writing data to the eeprom block, which is performed as an operation (as shown in table 3). similarly, an instruction is needed when erasing a sector of flash memory. the program instruction is a sequence of three specific write operations, followed by a write operation bearing the address and data that is to be written (as shown in table 4). the m39432 automatically starts and performs the programming after the fourth write operation. in this way, the flash memory block can be programmed a byte at a time. the flash memory block rejects any further instructions that arrive during the execution of the program instruction. during programming, the memory status may be checked by reading the status bits dq7, dq6 and dq5, as described on page 8. data polling using dq7. please see the description on page 8. data toggling using dq6. please see the description on page 8. flash block erase a write to the eeprom block is an operation that triggers an automatic, internal sequence of byte erase followed by byte write. the flash memory block, though, is different. writing to the flash memory block first requires an explicit erase operation. the flash memory erase instruction cannot be addressed to a byte at a time. the erase can only
m39432 12/28 figure 8. sector protection flowchart note: 1. the verify sector protection status operation is specified in table 9. sector address on a16, a17, a18 ee = v ih ai01948c g, a9 = v id , ef = v il n = 0 wait 4s wait 100s w = v il w = v ih g = v ih verify sector protection status 1 a9 = v ih ++n = 25 start fail pass yes no dq0 = 1 yes no a9 = v ih wait 4s
13/28 m39432 table 9. flash sector protection note: 1. x = dont care 2. sa = sector address ef ee g w a0 a1 a6 a9 a12 a16 a17 a18 dq0 - dq7 v il v ih v id v il xxx v id x sa sa sa protection activation v il v ih v il v ih v il v ih v il v id xsasasa verify sector protection status: when dq0=1, the sector is protected table 10. flash unprotection (all sectors) note: 1. x = dont care 2. sa = sector address ef ee g w a0 a1 a6 a9 a12 a16 a17 a18 dq0 - dq7 v id v ih v id v il xxx v id v ih v ih x x activation of unprotected mode v il v ih v il v ih v il v ih v ih v id xsasasa verify sector protection status: when 00h, the sector is unprotected be addressed to a whole sector. either one sector (or more) can be explicitly selected for erasure, or the bulk erase instruction can be used to erase all the sectors in the flash memory block. during an erase cycle, the memory status may be checked by reading the status bits dq7, dq6 and dq5, as described on page 8. the error bit (dq5) returns a 1 if there has been an erase failure (if the maximum number of erase cycles has been exceeded). the program instruction to a byte in the flash memory block is ignored if it is in a protected sector. similarly, the bulk erase instruction is ignored if all the flash memory sectors are protected. if all the addressed sectors, for an erase instruction, are protected, nothing is erased. dq7 and dq6 are set to 0 for about 100 m s, and then are returned to their values from the previously addressed byte. bulk erase instruction. the bulk erase instruction uses six write operations followed by a number of read operations, to read the status register bits. this is summarized in table 4. if any part of the bulk erase instruction sequence is wrong, the device reverts to being in its read mode for the flash memory, and does not execute the erase instruction. the m39432 rejects any further instructions that arrive during the execution of the bulk erase instruction. sector erase instruction. the sector erase instruction uses six write operations to specify the first sector that is to be erased, and an additional write operation for each additional sector that is to be erased in parallel with the first. this is summarized in table 4. these write operations are transmitted under normal page write timing conditions. the status of the internal timer can be monitored on dq3 (erase time-out bit) as described on page 10. if dq3 is 0 the sector erase instruction has been received and the timer is counting. if dq3 is 1, the time-out has expired, and the m39432 is either in the process of erasing, or has finished (as indicated on dq7 and dq6). any instruction arriving before the expiration of the erase time-out period, other than erase suspend or erase resume instruction, aborts the erase instruction, and resets the device in its read flash memory mode. during the execution of the erase instruction, the flash memory block accepts only reset and erase suspend instructions. erase suspend instruction. when a sector erase cycle is in progress, the erase suspend instruction can be used to suspend the cycle. this allows the reading of data from another flash sector while the sector erase instruction is on hold. this instruction involves writing b0h at any address (as shown in table 4). erase suspend is accepted only during the sector erase instruction execution, and defaults to the read flash memory mode, otherwise. an erase suspend instruction executed during an erase time-out will, in addition to suspending the erase, terminate the time-out period.
m39432 14/28 figure 9. sector unprotecting flowchart note: 1. the verify sector status operation is specified in table 10. 2. a6 is kept at v ih during unprotection algorithm in order to secure best unprotection verification. during all other protection status reads, a6 must be kept at v il . ai01949c a18, a17, a16 = v ih a12, a9, a6, g = v ih dq0-7 ef, g, a9 = v id wait 4s w = v ih ef, g = v ih verify sector protection status 1,2 wait 10ms wait 4s = 00h previous sector (decrement a18, a17, a16) n = 0 wait 4s w = v il ++n = 1000 start fail yes yes no pass no last sector yes no ee = ef = v ih
15/28 m39432 table 11. dc characteristics (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) note: 1. when reading the flash block and an eeprom write cycle is already underway, the supply current is i cc1 + i cc5 . 2. averaged (over time) typical value. symbol parameter test condition min. mean 2 (typ.) max. unit i li input leakage current 0v v in v cc 1 m a i lo output leakage current 0v v out v cc 1 m a i cc1 1 supply current (read flash) ttl (ee ,ef ,g ) = (v ih ,v il ,v ih ), f = 6 mhz 315ma i cc2 supply current (read eeprom) ttl (ee ,ef ,g ) = (v il ,v ih ,v ih ), f = 6 mhz 315ma i cc3 supply current (stand-by) cmos ef = ee = v cc 0.2 v 60 m a i cc4 supply current (flash block program or erase) byte program, sector or chip erase in progress 320ma i cc5 supply current (eeprom write) during t wc 320ma i cc6 supply current in deep power down mode after a deep power down instruction (see table 4) 0.2 6 m a v il input low voltage C0.5 0.8 v v ih input high voltage 2 v cc + 0.5 v v ol output low voltage i ol = 1.8 ma 0.45 v v oh output high voltage i oh = C100 m av cc C 0.4 v v id a9 high voltage 11.5 12.5 v i id v id current a9 = v id 50 m a v lko v cc minimum for write, erase and program 1.9 2.2 v figure 10. ac testing input output waveforms ai01950 1.5v 2.4v 0.45v figure 11. output ac testing load circuit ai01951c v cc c l = 30pf c l includes jig capacitance v out = 1.5v when the device under test is in the hi-z output state. 1n914 device under test 1n914 i ol i oh table 12. ac measurement conditions input rise and fall times 10 ns input pulse voltages 0.45 v to 2.4 v input timing reference voltages 0.8 v and 2 v output timing reference voltages 1.5 v
m39432 16/28 table 13. read mode ac characteristics (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) note: 1. sampled only, not 100% tested. 2. g may be delayed by up to t elqv - t glqv after the falling edge of ee (or ef ) without increasing t elqv . table 14. input and output parameters 1 (t a = 25 c, f = 1 mhz) note: 1. sampled only, not 100% tested. symbol alt. parameter test condition m39432 unit -100 -120 -150 min max min max min max t avav t rc address valid to next address valid (ee ,ef ,g ) = (v il ,v ih ,v il ) or (ee ,ef ,g ) = (v ih ,v il ,v il ) 100 120 150 ns t av qv t acc access time: address valid to output valid (ee ,ef ,g ) = (v il ,v ih ,v il ) or (ee ,ef ,g ) = (v ih ,v il ,v il ) 100 120 150 ns t elqx 1 t lz chip enable low to output transition g = v il 000ns t elqv 2 t ce access time: chip enable low to output valid g = v il 100 120 150 ns t glqx 1 t olz output enable low to output transition (ee ,ef ) = (v il ,v ih ) or (ee ,ef ) = (v ih ,v il ) 000ns t glqv 2 t oe output enable low to output valid (ee ,ef ) = (v il ,v ih ) or (ee ,ef ) = (v ih ,v il ) 40 55 55 ns t ehqx t oh chip enable high to output transition g = v il 000ns t ehqz 1 t hz chip enable high to output hi-z g = v il 30 40 40 ns t ghqx t oh output enable high to output transition (ee ,ef ) = (v il ,v ih ) or (ee ,ef ) = (v ih ,v il ) 000ns t ghqz 1 t df output enable high to output hi-z (ee ,ef ) = (v il ,v ih ) or (ee ,ef ) = (v ih ,v il ) 30 40 40 ns t axqx t oh address transition to output transition (ee ,ef ,g ) = (v il ,v ih ,v il ) or (ee ,ef ,g ) = (v ih ,v il ,v il ) 000ns t ehfl t ced ee active to ef active or ef active to ee active 100 100 100 ns symbol parameter test condition min. max. unit c in input capacitance v in = 0v 6pf c out output capacitance v out = 0v 12 pf
17/28 m39432 figure 12. read mode ac waveforms (with write enable, w , high) ai01952 tavav tavqv taxqx telqx tehqz tehqx tglqv tglqx tghqx tghqz valid a0-a18 ee (ef) g dq0-dq7 telqv valid address valid and chip enable output enable data valid tehfl tehfl ef (ee)
m39432 18/28 figure 13. write mode ac waveforms (w controlled) note: 1. e signifies ef when ee = v ih , and it signifies ee when ef = v ih . 2. addresses are latched on the falling edge of w , data are latched on the rising edge of w . ai01953 e (1) g w a0-a18 dq0-dq7 valid valid v cc tvchel twheh twhwl telwl tavwl twhgl twlax twhdx write cycle tdvwh twlwh tghwl rb twhrl twhrh the toggle bit (dq6) stops toggling when the erase cycle is suspended. the toggle bit status must be monitored using an address that is not in the flash sector being erased. dq6 will stop toggling within 15 m s of the erase suspend instruction having been sent. the m39432 will then be set automatically into read flash memory mode. when an erase cycle is suspended, reading from the flash sectors that were being erased will return invalid data. reading is valid from any flash sectors that are not being erased. during an erase suspend cycle, the flash memory responds only to erase resume and reset instructions. a reset instruction will definitively abort the erase cycle, and can leave invalid data in the flash sectors that was being erased. erase resume instruction. if an erase suspend instruction was the last to have been executed, this instruction allows the erase cycle to be resumed. the erase resume instruction involves writing 30h to any address (as shown in table 4). flash sector protection and unprotection each flash sector can be individually protected against program or erase instructions. this mode is activated when both a9 and g are set to v id (specified in table 11) and the flash sector address is applied on a16, a17 and a18, as shown in figure 8 and table 9. flash sector protection is programmed with the help of a specific sequence of levels applied on the ef , ee , g , a0, a1, a6, a9, a16, a17 and a18 lines, as shown in table 9. any attempt to program or erase a protected flash sector is ignored by the device. flash sectors can be unprotected, to allow the subsequent updating of their contents. the sector unprotection operation unprotects all sectors together (from sector 0 up to sector 7). the flash sector unprotection operation is invoked by applying the specific levels on the ef , ee , g , a0, a1, a6, a9, a12, a16, a17 and a18 lines, as shown in table 10. verification of the protection status can be obtained after each new sector has been protected, or after all sectors have been
19/28 m39432 figure 14. write mode ac waveforms (ee or ef controlled) note: 1. e signifies ef when ee = v ih , and it signifies ee when ef = v ih . 2. addresses are latched on the falling edge of e , data are latched on the rising edge of e . e (1) ai01954 g w a0-a18 dq0-dq7 valid valid v cc tvchwl tehwh tehel twlel tavel tehgl telax tehdx write cycle tdveh teleh tghel dq0-dq7 rb twhrl unprotected. following the protection of a new sector, the status is found on dq0 as shown by the sequence in figure 8. following the unprotection of all sectors, the status is found on dq0-dq7 as shown by the sequence in figure 9. these two verify sector protection status operations are implemented like read operations, but provide a more severe test of the correct functioning of the device than does a read sector protection instruction (as shown in table 4). reset instruction reset is an instruction involving either one write operation or three write operations (as shown in table 4). the reset instruction returns the memory to its read mode, and resets any errors in the status register. if the reset instruction is issued during a sector erase cycle, or during a programming cycle, then the internal logic will take up to 10 m s to abort. during the abort period, no valid data can be read from the memory. issuing a reset command during a sector erase cycle will leave invalid data in the memory. glossary block: flash memory block (4 mbit) or eeprom block (256 kbit) bulk: the whole flash memory block (4 mbit) sector: 64 kbyte of flash memory page: 64 bytes of eeprom program and write: programming (in the flash memory block) and writing (to the eeprom block) and are not the same: n flash memory bytes are programmed using the program instruction (as shown in table 4). this is used to change any bit values from 1s to 0s, where appropriate. as it is impossible to program bits from 0s to 1s, it is necessary to run a sector erase instruction before any byte overwriting can be performed. n eeprom bytes are written using a simple operation (table 3). sdp: software data protection. this is used for protecting the eeprom block against inadvertent write operations (for example, in noisy environments).
m39432 20/28 table 15. write mode ac characteristics (w controlled) (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) note: 1. time is measured to data polling or toggle bit, t whqv = t whq7v + t q7vqv . 2. with a 3.3 k w pull-up resistor. 3. chip enable means (ee ,ef ) = (v il ,v ih ) or (ee ,ef ) = (v ih ,v il ). 4. sampled only, not 100% tested. symbol alt. parameter m39432 unit -100 -120 -150 min max min max min max t avav address valid to next address valid 100 120 150 ns t elwl 3 t cs chip enable low to write enable low 0 0 0 ns t wlwh t wp write enable low to write enable high 50 50 65 ns t dvwh t ds input valid to write enable high 50 50 65 ns t whdx t dh write enable high to input transition 0 0 0 ns t wheh 3 t ch write enable high to chip enable high 0 0 0 ns t whwl t wph write enable high to write enable low 30 30 35 ns t avwl t as address valid to write enable low 0 0 0 ns t wlax t ah write enable low to address transition 50 50 65 ns t ghwl output enable high to write enable low 0 0 0 ns t vchel 4 t vcs v cc high to chip enable low 50 50 50 m s t whqv1 1 write enable high to output valid (program) 15 15 15 m s t whqv2 1 write enable high to output valid (sector erase) 2.0 30 2.0 30 2.0 30 s t whwl0 time-out between two consecutive sector erase 80 80 80 m s t whgl t oeh write enable high to output enable low 0 0 0 ns t whrl 2,4 t db write enable high to ready/busy output low 150 150 150 ns
21/28 m39432 table 16. write mode ac characteristics (ee or ef controlled) (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) note: 1. time is measured to data polling or toggle bit, t whqv = t whq7v + t q7vqv . 2. with a 3.3 k w pull-up resistor. symbol alt. parameter m39432 unit -100 -120 -150 min max min max min max t wlwl t blc time-out after the last byte write (eeprom) 150 150 150 m s t whrh t wc write cycle time (eeprom) 10 10 10 ms t avav address valid to next address valid 100 120 150 ns t wlel t ws write enable low to memory block enable low 000ns t eleh t cp memory block enable low to memory block enable high 50 50 65 ns t dveh t ds input valid to memory block enable high 50 50 65 ns t ehdx t dh memory block enable high to input transition 000ns t ehwh t wh memory block enable high to write enable high 000ns t ehel t cph memory block enable high to memory block enable low 30 30 35 ns t avel t as address valid to memory block enable low 000ns t elax t ah memory block enable low to address transition 50 50 65 ns t ghel output enable high to memory block enable low 000ns t vchwl t vcs v cc high to write enable low 50 50 50 m s t ehqv1 1 memory block enable high to output valid (program) 15 15 15 m s t ehqv2 1 memory block enable high to output valid (sector erase) 2.0 30 2.0 30 2.0 30 s t ehgl t oeh memory block enable high to output enable low 000ns t ehrl 2 t db eeprom block enable high to ready/ busy output low 150 150 150 ns
m39432 22/28 figure 15. data polling dq7 ac waveforms ai01955b e (5) g w a0-a18 dq7 ignore valid dq0-dq6 byte address (within blocks) data output valid tavqv tehq7v tglqv twhq7v valid tq7vqv dq7 data polling (last) cycle data verify read cycle data polling read cycles last cycle of program or erase telqv note: 1. all other timings are as a normal read cycle. 2. t whq7v is the program or erase time. 3. dq7 and dq0-dq6 can become valid at any point during the data output valid period. 4. during the erasing operation, the byte address must be within the sector being erased. 5. e signifies ef when ee = v ih , and it signifies ee when ef = v ih .
23/28 m39432 table 17. data polling and toggle bit ac characteristics 1 (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) note: 1. all other timings are defined in table 13. 2. t whq7v is the program or erase time. table 18. program, erase times and program, erase endurance cycles (flash block) (t a = C40 to 85 c; v cc = 2.7 v to 3.6 v) symbol alt. parameter m39432 unit -100 -120 -150 min max min max min max t whq7v1 2 write enable high to dq7 valid (program, w controlled) 10 10 10 m s t whq7v2 2 write enable high to dq7 valid (sector erase, w controlled) 1.5 30 1.5 30 1.5 30 s t ehq7v1 2 flash block enable high to dq7 valid (program, ef controlled) 10 10 10 m s t ehq7v2 2 flash block enable high to dq7 valid (sector erase, ef controlled) 1.5 30 1.5 30 1.5 30 s t q7vqv dq7 valid to output valid (data polling) 40 50 55 ns t whqv1 write enable high to output valid (program) 10 10 10 m s t whqv2 write enable high to output valid (sector erase) 1.5 30 1.5 30 1.5 30 s t ehqv1 flash block enable high to output valid (program) 10 10 10 m s t ehqv2 flash block enable high to output valid (sector erase) 1.5 30 1.5 30 1.5 30 s parameter m39432 unit min. typ. max. chip program (byte) 8 s chip erase (pre-programmed) 3 30 s chip erase 10 s sector erase (pre-programmed) 1 30 s sector erase 2 s byte program 10 m s program/erase cycles (per sector) 100,000 cycles
m39432 24/28 figure 16. data toggle dq6 ac waveforms ai01956 e (2) g w a0-a18 dq6 dq0-dq5, tavqv stop toggle last cycle of program of erase valid valid valid ignore dq7 data toggle read cycle read cycle twhqv tehqv telqv tglqv data toggle read cycle note: 1. all other timings are as a normal read cycle. 2. e signifies ef when ee = v ih , and it signifies ee when ef = v ih .
25/28 m39432 table 19. ordering information scheme note: 1. the Cv voltage range is no longer offered, since the Cw range also covers these voltages. similarly, products are no longer off ered with a C20 or C25 marking (200 ns or 250 ns) since these are covered by the C15 (150 ns) part; and products are no longer offer ed with the 1 or 5 temperature ranges (0 to 70c or C20 to 85c) since these are covered by the 6 temperature range. example: m39432 -15 w nc 1 t option speed t tape & reel packing -10 100 ns -12 120 ns -15 150 ns temperature range 6 C40 to 85 c operating voltage w 2.7 v to 3.6 v package v 1 3.0 v to 3.6 v nc tsop40: 10 x 20 mm figure 17. eeprom page write mode ac waveforms (w controlled) ai02028 a0-a14 e g dq0-dq7 w twlwl addr 0 rb addr 1 addr 2 addr n twhrh twlwh twhwl twhrl byte 0 byte 1 byte 2 byte n ordering information devices are shipped from the factory with the memory content set at all 1s (ffh). the notation used for the device number is as shown in table 19. for a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact your nearest st sales office.
m39432 26/28 figure 18. tsop40 (nc) note: 1. drawing is not to scale. tsop-a d1 e 1 n cp b e a2 a n/2 d die c l a1 a table 20. tsop40 - 40 lead plastic thin small outline, 10 x 20 mm symbol mm inches typ. min. max. typ. min. max. a 1.20 0.047 a1 0.05 0.15 0.002 0.006 a2 0.95 1.05 0.037 0.041 b 0.17 0.27 0.007 0.011 c 0.10 0.21 0.004 0.008 d 19.80 20.20 0.780 0.795 d1 18.30 18.50 0.720 0.728 e 9.90 10.10 0.390 0.398 e 0.50 C C 0.020 C C l 0.50 0.70 0.020 0.028 a 0 5 0 5 n40 40 cp 0.10 0.004
27/28 m39432 table 21. revision history date description of revision 09-oct-1998 document written 25-nov-1999 wider -w voltage range added, old -v range removed. faster -10 speed range added, slowest -20 and -25 ranges removed. narrowest temperature ranges 1 and 5 removed.
m39432 28/28 information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectronics prod ucts are not authorized for use as critical components in life support devices or systems without express written approval of stmicroelectro nics. ? 1999 stmicroelectronics - all rights reserved the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. stmicroelectronics group of companies australia - brazil - china - finland - france - germany - hong kong - india - italy - japan - malaysia - malta - morocco - sing apore - spain - sweden - switzerland - united kingdom - u.s.a. http://www.st.com


▲Up To Search▲   

 
Price & Availability of M39432-10VNC6T

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X